[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Counts the number of items in the collection that satisfy the condition
defined by predicate.
Namespace: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
C# |
---|
public virtual int CountWhere( Predicate<T> predicate ) |
Visual Basic (Declaration) |
---|
Public Overridable Function CountWhere ( _ predicate As Predicate(Of T) _ ) As Integer |
Visual C++ |
---|
public: virtual int CountWhere ( Predicate<T>^ predicate ) |
Parameters
- predicate
- Predicate<(Of <T>)>
A delegate that defines the condition to check for.
Return Value
The number of items in the collection that satisfy predicate.See Also
CollectionBase<(Of <T>)> Class
Wintellect.PowerCollections Namespace